﻿<List Title="FirstProductPS" Url="Lists/FPPS" BaseType="0" Type="100" Name="FPPS"
      DisableAttachments="TRUE" FolderCreation="FALSE" VersioningEnabled="FALSE" EnableContentTypes="TRUE"
      xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01003b7743e4960c4618865f01f122aeb500"
               Name="ConsolidationTool_FPPS"
               Group="ConsolidationTool"
               Description="FirstProductPS">
        <FieldRefs>
          <FieldRef Name="Title" ID="{95832374-962C-4659-8818-0208F2EE5D39}"/>
          <FieldRef Name="LinkTitle" ID="{95832374-962C-4659-8818-0208F2EE5D40}"/>
          <FieldRef Name="ParentForm" ID="{95832374-962C-4659-8818-0208F2EE5D41}"/>  
          <FieldRef Name="RGC" ID="{95832374-962C-4659-8818-0208F2EE5D42}"/>     
          <FieldRef Name="Qty" ID="{95832374-962C-4659-8818-0208F2EE5D43}"/>
          <FieldRef Name="Turnover" ID="{95832374-962C-4659-8818-0208F2EE5D44}"/>

          <FieldRef Name="Region" ID="{95832374-962C-4659-8818-0208F2EE5D45}"/>
          <FieldRef Name="SubRegion" ID="{95832374-962C-4659-8818-0208F2EE5D46}"/>
          <FieldRef Name="Entity" ID="{95832374-962C-4659-8818-0208F2EE5D47}"/>
          <FieldRef Name="Year" ID="{95832374-962C-4659-8818-0208F2EE5D48}"/>
          <FieldRef Name="RGCDescription" ID="{95832374-962C-4659-8818-0208F2EE5D49}"/>
        </FieldRefs>
 
      </ContentType>
    </ContentTypes>

    <Fields>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D39}" Type="Text"  DisplayName="Title"  Name="Title"   StaticName="Title" Required="TRUE"   Indexed="TRUE" EnforceUniqueValues="true" />
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D40}" Type="Computed"  DisplayName="Title" Name="LinkTitle"  StaticName="LinkTitle" ReadOnly="TRUE"></Field>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D41}" Type="Lookup" List="Lists/PSRGC"  DisplayName="ParentForm" ShowField="Title" Name="ParentForm"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D42}" Type="Lookup" List="Lists/RGC" ShowField="Title"  DisplayName="RGC"  Name="RGC"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D43}" Type="Integer"  DisplayName="Qty"  Name="Qty"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D44}" Type ="Number" DisplayName ="Turnover" Name="Turnover"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D45}" Type="Lookup" DisplayName="Region" Name ="Region" List="Lists/Region" ShowField="Title"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D46}" Type="Lookup" DisplayName="SubRegion" Name ="SubRegion" List="Lists/SubRegion" ShowField ="Title"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D47}" Type="Lookup" DisplayName ="Entity" Name="Entity" List="Lists/Entity" ShowField ="Title"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D48}" Type="Integer" DisplayName ="Year" Name="Year"/>
      <Field ID="{95832374-962C-4659-8818-0208F2EE5D49}" Type="Lookup" DisplayName ="RGC:Description" FieldRef="RGC" Name="RGCDescription" List="Lists/RGC"  ShowField ="Description" />
    </Fields>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>

    <Views>
      <View DisplayName="All Items" DefaultView="TRUE" BaseViewID="1" Type="HTML"
            WebPartZoneID="Main" WebPartOrder="1" Url="AllItems.aspx" SetupPath="pages\viewpage.aspx" >
        <XslLink>main.xsl</XslLink>
        <ViewFields>
          <FieldRef Name="LinkTitle"/>
          <FieldRef Name="ParentForm"/>       
          <FieldRef Name="RGC"/>    
          <FieldRef Name="Qty"/>
          <FieldRef Name="Turnover"/>
          <FieldRef Name="Year"/>
        </ViewFields>
        <RowLimit Paged="TRUE">30</RowLimit>
      </View>
    </Views>
  </MetaData>
</List>
